package com.lx.design.demo.ddd3.oop.weapon;

/**
 * 大宝剑
 * @author lx
 * @date 2021/4/21 16:26
 */
public class Sword extends Weapon {
    public Sword(String name,int damage) {
        super.setName(name);
        super.setDamage(damage);
        super.setDamageType(DamageTypeEnum.PHYSICAL.getCode());
    }
}
